<%@ page import="user.Professor" %>

			<div class="control-group fieldcontain ${hasErrors(bean: professorInstance, field: 'firstName', 'error')} required">
				<label for="firstName" class="control-label"><g:message code="professor.firstName.label" default="First Name" /><span class="required-indicator">*</span></label>
				<div class="controls">
					<g:textField name="firstName" required="" value="${professorInstance?.firstName}"/>
					<span class="help-inline">${hasErrors(bean: professorInstance, field: 'firstName', 'error')}</span>
				</div>
			</div>

			<div class="control-group fieldcontain ${hasErrors(bean: professorInstance, field: 'lastName', 'error')} required">
				<label for="lastName" class="control-label"><g:message code="professor.lastName.label" default="Last Name" /><span class="required-indicator">*</span></label>
				<div class="controls">
					<g:textField name="lastName" required="" value="${professorInstance?.lastName}"/>
					<span class="help-inline">${hasErrors(bean: professorInstance, field: 'lastName', 'error')}</span>
				</div>
			</div>

			<div class="control-group fieldcontain ${hasErrors(bean: professorInstance, field: 'documentId', 'error')} required">
				<label for="documentId" class="control-label"><g:message code="professor.documentId.label" default="Document Id" /><span class="required-indicator">*</span></label>
				<div class="controls">
					<g:field type="number" name="documentId" required="" value="${professorInstance?.documentId}"/>
					<span class="help-inline">${hasErrors(bean: professorInstance, field: 'documentId', 'error')}</span>
				</div>
			</div>

			<div class="control-group fieldcontain ${hasErrors(bean: professorInstance, field: 'email', 'error')} required">
				<label for="email" class="control-label"><g:message code="professor.email.label" default="Email" /><span class="required-indicator">*</span></label>
				<div class="controls">
					<g:field type="email" name="email" required="" value="${professorInstance?.email}"/>
					<span class="help-inline">${hasErrors(bean: professorInstance, field: 'email', 'error')}</span>
				</div>
			</div>


			<div class="control-group fieldcontain ${hasErrors(bean: professorInstance, field: 'birthDate', 'error')} required">
				<label for="birthDate" class="control-label"><g:message code="professor.birthDate.label" default="Birth Date" /><span class="required-indicator">*</span></label>
				<div class="controls">
					<bs:datePicker name="birthDate" precision="day"  value="${professorInstance?.birthDate}"  />
					<span class="help-inline">${hasErrors(bean: professorInstance, field: 'birthDate', 'error')}</span>
				</div>
			</div>


			<div class="control-group fieldcontain ${hasErrors(bean: professorInstance, field: 'professorId', 'error')} required">
				<label for="professorId" class="control-label"><g:message code="professor.professorId.label" default="Professor Id" /><span class="required-indicator">*</span></label>
				<div class="controls">
					<g:field type="number" name="professorId" required="" value="${professorInstance?.professorId}"/>
					<span class="help-inline">${hasErrors(bean: professorInstance, field: 'professorId', 'error')}</span>
				</div>
			</div>




